<? $page_title='采购需求列表(生成订单)' ?>
<?include "FASHION/page_header.phtml"?>

<table border="0" class="list"><tbody>
<tr class="nobg">
	<th width="130">时间</th>
	<th width="25%">相关单据号</th>
	<th>总数量</th>
	<th>用户</th>
	<th>操作</th>
</tr>
<? foreach($list as $d){ ?>
<tr>
	<td class="nowrap"><?=date('Y/m/d H:i', $d.addtime)?></td>
	<td class="text"><?$d.demands?></td>
	<td class="decimal"><{$d.amount}></td>
	<td><?$d.user_name?></td>
	<td class="nowrap">
		<a href="<?url("procsum-view/id/".$d.id)?>" class="view" title="查看采购需求"></a>
		<a href="<?url("indent-gen/id/".$d.id)?>" class="quote" title="生成采购订单"></a>
	</td>
</tr>
<? } ?>
</tbody></table>

<?include "FASHION/page_footer.phtml"?>